/*
 * jiyan1
 */
package com.jiyan.worker.service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

import com.rzhkj.core.base.BaseMybatisDAO;
import com.rzhkj.core.base.BaseMybatisSVImpl;

import com.jiyan.worker.facade.WorkerNodeSV;
import com.jiyan.worker.dao.WorkerNodeDAO;
import com.jiyan.worker.entity.WorkerNode;


/**
 * DB WorkerID Assigner for UID Generator
 * @author jiyan
 */
@Component
@Service
public class WorkerNodeSVImpl extends BaseMybatisSVImpl<WorkerNode,Long> implements WorkerNodeSV{


	@Resource
	private WorkerNodeDAO workerNodeDAO;

    @Override
    protected BaseMybatisDAO getBaseMybatisDAO(){
		return workerNodeDAO;
	}



     /**
      * 删除对象DB WorkerID Assigner for UID Generator
	   * @param id auto increment id
      */
	 @Override
     public void delete(java.lang.Long id) {
		workerNodeDAO.delete(id);
	 }



}